#!/bin/bash

#ip="192.168.1.1"
#ip1=`echo $ip | awk -F "." '{print $1}'`
#echo "$ip1"

#ipTest="192.168.1.1"
#ip1=`echo $ipTest | awk -F "." '{print $2}'`
#echo "$ip1"

string="hello,shell,split,test"
array=(${string//,/ })
e=${array[@]}
echo ${e[0]}
